﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RedFoxSpamKiller
{
  public class Post
  {
    private string title;
    public string Title
    {
      get { return title; }
      set { title = value; }
    }

    private Uri link;
    public Uri Link
    {
      get { return link; }
      set { link = value; }
    }

    private string author;
    public string Author
    {
      get { return author; }
      set { author = value; }
    }

    public Post(string title, string link, string author)
    {
      this.title = title;
      this.link = new Uri(link);
      this.author = author;
    }

    public override string ToString()
    {
      return title;
    }
  }
}
